// 客户管理子页面路由
export default [
  {
    path: '/customer/selectDesigner',
    name: 'CustomerSelectDesigner',
    component: () => import('@/views/customer/add/SelectDesigner'),
    meta: {
      title: '选择设计师',
      isImmerse: false,
      statusBarBgColor: '#FFFFFF',
      statusBarType: 1
    }
  },
  {
    path: '/customer/allocation',
    name: 'CustomerAllocation',
    component: () => import('@/views/customer/allocation'),
    meta: {
      title: '分配跟进人',
      isImmerse: false,
      statusBarBgColor: '#FFFFFF',
      statusBarType: 1
    }
  },
  {
    path: '/customer/followUp/:type',
    name: 'CustomerFollowUp',
    component: () => import('@/views/customer/followUp'),
    meta: {
      title: '跟进',
      isImmerse: false,
      statusBarBgColor: '',
      statusBarType: 1
    }
  },
  {
    path: '/customer/receipt',
    name: 'CustomerReceipt',
    component: () => import('@/views/customer/money'),
    meta: {
      title: '收款',
      isImmerse: false,
      statusBarBgColor: '',
      statusBarType: 1
    }
  },
  {
    path: '/customer/refund',
    name: 'CustomerRefund',
    component: () => import('@/views/customer/money'),
    meta: {
      title: '退款',
      isImmerse: false,
      statusBarBgColor: '',
      statusBarType: 1
    }
  },
  {
    path: '/customer/turnIntention',
    name: 'CustomerTurnIntention',
    component: () => import('@/views/customer/opty/Create'),
    meta: {
      title: '转意向客户',
      isImmerse: false,
      statusBarBgColor: '',
      statusBarType: 1,
      keepAlive: true
    }
  },
  {
    path: '/customer/opty/create',
    name: 'CustomerOptyCreate',
    component: () => import('@/views/customer/opty/Create'),
    meta: {
      title: '创建商机',
      isImmerse: false,
      statusBarBgColor: '',
      statusBarType: 1,
      keepAlive: true
    }
  },
  {
    path: '/customer/addTag',
    name: 'CustomerAddTag',
    component: () => import('@/views/customer/addTag'),
    meta: {
      title: '添加标签',
      isImmerse: false,
      statusBarBgColor: '',
      statusBarType: 1
    }
  },
  {
    path: '/customer/losing',
    name: 'CustomerLosing',
    component: () => import('@/views/customer/losing'),
    meta: {
      title: '客户流失',
      isImmerse: false,
      statusBarBgColor: '',
      statusBarType: 1
    }
  },
  {
    path: '/customer/sendBack',
    name: 'CustomerSendBack',
    component: () => import('@/views/customer/sendBack'),
    meta: {
      title: '退回总部',
      isImmerse: false,
      statusBarBgColor: '',
      statusBarType: 1
    }
  },
  {
    path: '/customer/sendBackShop',
    name: 'CustomerSendBackShop',
    component: () => import('@/views/customer/sendBackShop'),
    meta: {
      title: '退回门店',
      isImmerse: false,
      statusBarBgColor: '',
      statusBarType: 1
    }
  },
  {
    path: '/customer/detail',
    name: 'CustomerDetail',
    component: () => import('@/views/customer/detail'),
    meta: {
      title: '客户详情',
      isImmerse: true, // 是否沉浸
      statusBarBgColor: '', // 状态栏背景色：默认为(#FAFBFE),
      statusBarType: 1, // 状态栏颜色：1 黑色，0 白色 （默认为黑色）
      keepAlive: true
    }
  },
  {
    path: '/customer/feedback',
    name: 'CustomerFeedback',
    component: () => import('@/views/customer/feedback'),
    meta: {
      title: '自投反馈',
      isImmerse: false,
      statusBarBgColor: '',
      statusBarType: 1
    }
  },
  {
    path: '/customer/opty/addCate',
    name: 'CustomerOptyAddCategory',
    component: () => import('@/views/customer/opty/AddCategory'),
    meta: {
      title: '添加品类',
      isImmerse: false,
      statusBarBgColor: '',
      statusBarType: 1
    }
  },
  {
    path: '/customer/opty/allocation',
    name: 'CustomerOptyAllocation',
    component: () => import('@/views/customer/opty/Allocation'),
    meta: {
      title: '分配设计师',
      isImmerse: false,
      statusBarBgColor: '#FFFFFF',
      statusBarType: 1
    }
  },
  {
    path: '/customer/order/detail',
    name: 'customerOrderDetail',
    component: () => import('@/views/orderDetail'),
    meta: {
      title: '订单详情',
      isImmerse: true,
      statusBarBgColor: '#FFFFFF',
      statusBarType: 1
    }
  },
  {
    path: '/customer/opty/category', // 商机品类编辑
    name: 'EditOptyCategory',
    component: () => import('@/views/optyCategory'),
    meta: {
      title: '编辑',
      isImmerse: true,
      statusBarBgColor: '#FFFFFF',
      statusBarType: 1,
      keepAlive: true
    }
  },
  {
    path: '/customer/category/add/measure',
    name: 'measureAdd',
    component: () => import('@/views/optyCategory/add/measureAdd'),
    meta: {
      title: '量尺',
      isImmerse: false,
      statusBarBgColor: '#FFFFFF',
      statusBarType: 1
    }
  },
  {
    path: '/customer/category/add/scheme',
    name: 'schemeAdd',
    component: () => import('@/views/optyCategory/add/schemeAdd'),
    meta: {
      title: '添加方案',
      isImmerse: false,
      statusBarBgColor: '#FFFFFF',
      statusBarType: 1
    }
  },
  {
    path: '/customer/category/detail/imginfo',
    name: 'ImgInfo',
    component: () => import('@/views/optyCategory/detail/imgInfo'),
    meta: {
      title: '',
      isImmerse: false,
      statusBarBgColor: '#FFFFFF',
      statusBarType: 1
    }
  },
  {
    path: '/customer/category/detail/progress',
    name: 'OptyProgress',
    component: () => import('@/views/optyCategory/detail/progress'),
    meta: {
      title: '商机进度',
      isImmerse: false,
      statusBarBgColor: '#FFFFFF',
      statusBarType: 1
    }
  }, {
    path: '/customer/category/add/confirmScheme',
    name: 'ConfirmScheme',
    component: () => import('@/views/optyCategory/add/ConfirmScheme'),
    meta: {
      title: '确认方案',
      isImmerse: false,
      statusBarBgColor: '#FFFFFF',
      statusBarType: 1
    }
  }, {
    path: '/customer/category/detail/referRating',
    name: 'ReferRating',
    component: () => import('@/views/optyCategory/detail/referRating'),
    meta: {
      title: '参考批价',
      isImmerse: false,
      statusBarBgColor: '#FFFFFF',
      statusBarType: 1
    }
  }
]
